registry_config="registries.yaml" #镜像加速和私有镜像配置
cluste_name="lntu-k3s"
master_ip="10.11.130.37,10.11.130.211,10.11.130.177" #多master用逗号隔开
worker_ip="10.11.130.182,10.11.130.136,10.11.130.176"
k3s_version="latest" # stable  latest test
user="root"          #用户名
password="lntu@2023" # 密码
manifests="manifests"
defaultregistry="registry.cn-hangzhou.aliyuncs.com" # 20220723后加参数可能有问题
k3sinstallscript="https://rancher-mirror.rancher.cn/k3s/k3s-install.sh"
INSTALL_K3S_MIRROR="INSTALL_K3S_MIRROR=cn"
disable='--disable local-storage,traefik'

# autok3s   create --provider  native --name  lntu-k3s --master-extra-args  '--disable local-storage,traefik' --k3s-channel  latest --k3s-install-script  https://rancher-mirror.rancher.cn/k3s/k3s-install.sh --k3s-install-mirror  INSTALL_K3S_MIRROR=cn --docker-script  https://get.docker.com --cluster --rollback --ssh-port  22 --ssh-user  root --ssh-password  youling --master-ips  10.11.130.30,10.11.130.31,10.11.130.32 --worker-ips  10.11.130.33,10.11.130.93,10.11.130.220 --registry <registry-path>
